; ----------------------------------------------------------------------------
;    This is an example of an import file to be converted into an HML file
; ----------------------------------------------------------------------------
;
; What's new in version 3.0
;
; Discontinued test parameters:
; - DefaultAttemts
; - Attemts
; New common test parameters:
; - RelatedURL   
; - ReverseAlert yes|no                                  default value: No
; - UnknownIsBad yes|no                                  default value: Yes
; - UseCommonLog yes|no                                  default value: Yes
; - PrivateLog   
; New optional parameters for Ping test:
;   - DisplayMode  Time | Lost | Received                default value: Time
;   - MaxLostRatio <packet loss threshold, in percent>   default value: 100
;
; ----------------------------------------------------------------------------
;
; Comments: lines beginning with a semicolon are ignored
;
; -- Defaults --
; You may skip this section. By default the program uses empty values for
; Schedule, for Comment fields and Alert Profile names.
; The default interval is 300 sec (5 min)

DefaultSchedule =
DefaultAlertProfile =
DefaultInterval = 300
DefaultComment =

DefaultFolder =
; DefaultFolder parameter specifies the default destination folder to which tests will be added.
; If this parameter is not used or left blank ("DefaultFolder = ") then tests will be added to the current folder.
;DefaultFolder = Root\

; Use any of these parameters anywhere in the file.
; The program changes default values when it finds parameters with new values.

; --- example #1 ------------------------------------------------------
; This example defines a TCP test

; -- Common required parameters --
; These parameters must be specified for each task!
; 'Method' must be the 1st parameter in a test definition !!

Method = TCP
Title = www.yahoo.com #1

; Parameter 'Method' can take one of the following values:
; ping
; tcp
; url
; unc
; drivespace
; filesize
; fileexists
; filecontents
; process
; service
; ntlog
; cpu
; snmp
; externalprg
; interbase
; oracle
; mssql
; mysql
; postgre
; sybase
; odbc
; smtp
; pop3
; imap
; dns
; ldap
; trace
; countfiles

; -- Common optional parameters --
; These parameters apply to all test methods. If an optional parameter
; is omitted, its default value will be used

Comment  = 1st test, just for example^MSecond comment line^M3rd comment line
Schedule = 7 Days, 24 Hours
Interval = 120
Alerts   = Message, Sound

; New in ver 3.0

ReverseAlert = Yes
UnknownIsBad = No
UseCommonLog = Yes
PrivateLog   =

; New in ver 3.20

SyncCounters = Yes
SyncAlerts   = No
MasterTest-Alive           = ping yahoo
;MasterTest-AliveOrUnknown = ping yahoo
;MasterTest-DeadOrUnknown  = ping yahoo
;MasterTest-Dead           = ping yahoo

; -- Specific parameters required for TCP test --

Host = www.yahoo.com
Port = 80

; --- example #2 ----TCP-----------------------------------------------

Method = TCP
Title  = altavista
Host   = www.altavista.com
Port   = 80
RelatedURL = http://www.altavista.com

; --- example #3 ----Ping----------------------------------------------

Method  = Ping
Title   = ping yahoo
Host    = www.yahoo.com
Timeout = 3000
Retries = 4
DisplayMode  = Received
MaxLostRatio = 90

; ---------------------------------------------------------------------

; Set new default values for the following set of tests

DefaultSchedule = Monday - Friday, 24 Hours
DefaultInterval = 600

; --- example #4 ----URL-----------------------------------------------

Method = URL
Title  = Main Yahoo's page
URL    = http://www.yahoo.com/index.html
; A protocol must be specified as part of the URL (http, https, ftp, or gopher).

; Optional parameters:
Timeout = 5000
is302Ok = No
; is302Ok: 1 or 'yes' - means yes, 0 or 'no' - means no

CheckContents  = Expression
Expression     = 'Ok' or 'Good'
CaseSensitive  = 1
WholeWordsOnly = 1
; CheckContents: Expression, Contain, NotContain

; --- example #5 ----UNC-----------------------------------------------

Method = UNC
Title  = \\server1\vol1
UNC    = \\server1\vol1
MinFreeSpace = 2G
Test   = TotalFreeSpace
; Test: Availability, TotalFreeSpace, FreeSpaceForCaller
; Optional parameters
UserName = test
Password = test

Method = UNC
Title  = \\server1\vol1
UNC    = \\server1\vol1
Test   = FreeSpaceForCaller
MinFreeSpace = 12%
; free space, file size formats: 1234432, 123K, 23M, 2G, 10%

; --- example #6 ----DriveFreeSpace------------------------------------

Method = DriveSpace
Title  = drive C:\
Drive  = C
MinFreeSpace = 512M
; free space, file size formats: 1234432, 123K, 23M, 2G

; --- example #7 ----Folder/File Size----------------------------------

Method  = FileSize
Title   = size of Program Files\
File    = c:\Program Files\
MaxSize = 128M
Subfolders = 1
; subfolders: 1 or yes - mean yes, 0 or no - mean no

; MaxSize can be in bytes when less than 64K
Method  = FileSize
Title   = size of Program Files\
File    = c:\Program Files\
MaxSize = 32555
Subfolders = 1

; --- example #8 ----File/Folder Exists--------------------------------

Method = FileExists
Title  = file flag1
File   = g:\flag1.
OkIfExists = 1

; --- example #9 ----FileCRC-------------------------------------------

Method = FileCRC
Title  = CRC command.com
File   = c:\command.com

; --- example #10 ----Process------------------------------------------

Method   = Process
Title    = FAR
Process  = FAR
MinCount = 1
MaxCount = 5
; Use either MinCount or MaxCount parameter, or both.
; Optional parameters:
Computer =
UserName =
Password =

; --- example #11 -----Service-----------------------------------------    

Method   = Service
Title    = EventSystem
Service  = EventSystem
; optional parameters:
Computer =
UserName =                                                                 
Password =

; --- example #12 ----NTEventLog---------------------------------------                         

Method    = NTLog
Title     = Disk Quota
Computer    = 
Log       = Application
Source    = DiskQuota
CheckComp = Any
CheckType = AnyFromList
CheckID   = AnyFromList
CheckDescr= Any
CompList  = 
TypeList  = Warning
IDList    = ^M1001^M
DescrList = 
ReportMode= LastEvent
Username  = administrator
Password  = 


Method    = NTLog
Title     = Failure Audit
Computer  = 
Log       = Security
Source    = 
CheckComp = Any
CheckType = AnyFromList
CheckID   = AnyFromList
CheckDescr= Any
CompList  = 
TypeList  = Failure audit
IDList    = ^M1001^M1002^M
DescrList = 
ReportMode= LastEvent

; --- example #13 ----CPUUsage-----------------------------------------

Method = CPU
Title = CPU on Server1
MaxCPUUsage = 50
; optional parameters
Computer = \\Server1
OS = NT
; OS: NT, Netware
; do not specify Computer and OS parameters for local machine                
UserName =                                                                                       
Password =                                                                                       

; --- example #14 ----SNMP---------------------------------------------

Method    = SNMP
Title     = TCP input packets
Agent     = 125.1.5.6
Community = public
Timeout   = 2000
Retries   = 2
OID       = 1.3.6.1.2.1.6.10.0.0
Value     = 32175
Condition = LessThan
; Possible alert conditions: LessThan, MoreThan, EqualTo, DifferentFrom, Contains, NotContain

; For local computers use an empty string as the Agent's value
Method    = SNMP
Title     = TCP input packets
Agent     =
Community = public
Timeout   = 1500
Retries   = 1
OID       = 1.3.6.1.2.1.6.10.0.0
Value     = 62175
Condition = MoreThan

; --- example #15 ----External-----------------------------------------

Method      = ExternalPrg
Title       = External 1
CommandLine = c:\errorlev.exe
ErrorLevel  = 2
Condition   = EqualTo
; Possible alert conditions: LessThan, MoreThan, EqualTo, DifferentFrom
; Optional parameter
KillAfter   = 60
; another optional parameter, implemented in version 3.20
WindowMode  = Hide
; WindowMode: ShowNormal, Hide, Maximized, Minimized, MinNoactive, NoActive

; --- example #16 ----Interbase----------------------------------------

Method   = Interbase
Title    = Interbase
Server   = 127.0.0.1
Protocol = TCP
Database = test1
User     = guest
Password =
; Protocol: TCP, SPX, NetBEUI

; --- example #17 ----MSSQL--------------------------------------------

Method   = MSSQL                                                                     
Title    = MS SQL                                                                    
Server   = 127.0.0.1                                                                 
Database = test2                                                                     
User     = guest                                                                     
Password =                                                                           

; --- example #18 ----MySQL--------------------------------------------              

Method   = MySQL                                                                     
Title    = My SQL                                                                    
Server   = 127.0.0.1                                                                 
Database = test3                                                                     
Port     = 3306                                                                      
User     = guest                                                                     
Password =

; --- example #19 ----Oracle-------------------------------------------              

Method   = Oracle                                                                    
Title    = Oracle                                                                    
Server   = test4                                                                     
User     = guest                                                                     
Password =                                                                           

; --- example #20 ----PostgreSQL---------------------------------------              

Method   = Postgre                                                                   
Title    = Postgre SQL                                                               
Server   = 127.0.0.1                                                                 
Database = test5                                                                     
Port     = 5432                                                                      
User     = guest                                                                     
Password =                                                                           

; --- example #21 ----SybaseSQL----------------------------------------              

Method   = Sybase                                                                    
Title    = Sybase SQL                                                                
Server   = 127.0.0.1                                                                 
Database = test6                                                                     
User     = guest                                                                     
Password =

; --- example #22 ----ODBC---------------------------------------------

Method    = ODBC
Title     = dBASE test
Datasource= dBASE Files
Timeout   = 10
; Optional parameter
Login     =
Password  =
SQLQuery  = select * from test1

; --- example #23 ----SMTP---------------------------------------------

Method   = SMTP
Title    = SMTP: yahoo
Server   = smtp.mail.yahoo.com
Port     = 25
Timeout  = 20
VRFY     = no
Username =

; --- example #24 ----POP3---------------------------------------------

Method   = POP3
Title    = POP3: yahoo
Server   = pop.mail.yahoo.com
Port     = 110
Timeout  = 20
Username = xxxxxxxxxx
Password = xxxxxxxxxx
; Optional parameter
SizeLimit= 15M
MsgsLimit= 100

; --- example #25 ----IMAP---------------------------------------------

Method    = IMAP
Title     = IMAP: yahoo
Server    = pop.mail.yahoo.com
Port      = 143
Timeout   = 20
Username  = xxxxxxxx
Password  = xxxxxxxx
; Optional parameter
Mailbox   = Inbox
RecentOnly= no
SizeLimit = 15M
MsgsLimit = 100

; --- example #26 ----DNS----------------------------------------------

Method     = DNS
Title      = DNS: microsoft
Server     = 205.233.109.39
Protocol   = UDP
Port       = 53
Timeout    = 15
Hostname   = www.microsoft.com
; Optional parameter
CheckResult= 207.46.230.218

; --- example #27 ----LDAP---------------------------------------------

Method       = LDAP
Title        = LDAP: bund.de
Server       = x500.bund.de
Port         = 389
Timeout      = 20
; Optional parameter
Password     =
Search       = no
BaseObject   =
SearchFilter =

; --- example #28 ----Trace--------------------------------------------

Method       = Trace
Title        = Trace www.yahoo.com
Host         = www.yahoo.com
Timeout      = 5000
PacketSize   = 64
Retries      = 2
CheckMode    = TrafficThru
CheckValue   = 124.22.22.1
DisplayMode  = TotalTime
; CheckMode: RouteChanged, HopsDifferent, HopsMoreThan, HopsLessThan, MaxReply, TrafficThru, TrafficBypass
; DisplayMode: TotalTime, AverageTime, MaxTime, Hops, NonResponding, RouteBrief RouteFull

; --- example #29 ----CountFiles---------------------------------------

Method       = CountFiles
Title        = CountFiles (Program Files)
Folder       = C:\Program Files\
Mask         = *.*
Subfolders   = 1
UseMacros    = 0
CountMode    = OlderThan
; CountMode: AllFiles, OlderThan, NewerThan, BiggerThan, SmallerThan
CountValue   = 60
FilesLimit   = 100